package com.project.hqshorttaxi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "T_PlateCamera")
public class PlateCamera implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 摄像头ID
     */
    @Column(name = "CameraID")
    private Integer cameraID;

    /**
     * 蓄车场号（0 南蓄1 北蓄）
     */
    @Column(name = "ParkingNo")
    private Integer parkingNo;

    /**
     * 车牌号
     */
    @Column(name = "PlateNumber")
    private String plateNumber;

    /**
     * 拍摄时间
     */
    @Column(name = "ShotTime")
    private Date shotTime;

    /**
     * 照片物理地址
     */
    @Column(name = "PhotoPath")
    private String photoPath;

    /**
     * 车牌颜色
     */
    @Column(name = "Color")
    private String color;

    /**
     * 照片网络地址
     */
    @Column(name = "PhotoUrl")
    private String photoUrl;

}
